<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title><?=(isset($title) ? Html::chars($title) : '')?></title>
		<link rel="icon" href="favicon.ico" type="image/x-icon" />
		<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
		<meta name="keywords" content="<?=(isset($keywords) ? $keywords : '')?>" />
		<meta name="description" content="<?=(isset($description) ? $description : '')?>" />
		<meta name="robots" content="index, follow" />
		<?php
		if (isset($meta)) foreach ($meta as $i) {
				echo '<meta' . Html::attributes($i) . ' />'."\n";
			}
		?>
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<link href="/styles/style.css" rel="stylesheet" type="text/css" />
		<link href="/styles/west.css" rel="stylesheet" type="text/css" />
		<?php
		if (isset($link)) foreach ($link as $i) {
				echo '<link' . Html::attributes($i) . ' />'."\n";
			}
		if (isset($scripts)) foreach ($scripts as $script) :
		?>
		<script type="text/javascript" src="<?=Url::site($script)?>"></script>
			<?endforeach?>
	</head>
	<body>
	<?=$content?>
	</body>
</html>